<template>
  <div class="home">
    <Minitor/>
    <Sales/>
    <Search/>
  </div>
</template>

<script lang="ts">
export default {
  name: 'Home',
}
</script>
<script lang="ts" setup>
import Minitor from './monitor/index.vue'
import Sales from './sales/index.vue'
import Search from "./search/index.vue";
import { onMounted } from "vue";
import {useReportStore} from "@/stores/reportData";
const reportDataStore = useReportStore()
// 页面挂载调用
onMounted(()=>{
  reportDataStore.getReportData()
})
</script>

<style scoped>
.home{
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: #eee;
}
</style>
